<%@ page language="java" contentType="text/html; charset=UTF-8"
    pageEncoding="UTF-8"%>
<%@taglib prefix="fmt" uri="http://java.sun.com/jsp/jstl/fmt"%>

<title>查看</title>

<div class="panel">
      <div class="panel-heading">
		<h4>查看学生信息</h4>
		<ul class="links">
			<li class="fa fa-table"></li>
		</ul>
	</div>
      <div class="panel-body">
        <div class="table-responsive">
         <table class="table table-bordered table-hover">
			<tr>
				<td>姓名</td>
				<td>${student.name }</td>
			</tr>
			<tr>
				<td>性别</td>
				<td>${student.gender.text}</td>
			</tr>
			<tr>
				<td>生日</td>
				<td><fmt:formatDate value="${student.birthday}" pattern="yyyy-MM-dd"/></td>
			</tr>
			<tr>
				<td colspan="2">
					<a class="btn btn-info" href="${ctx}/students">返回</a>
				</td>
			</tr>
		</table>

    </div>
  </div>
</div>

